package com.ruoyi.model.apply.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class ApplyContestVo {
    private static final long serialVersionUID = 1L;
    @Excel(name = "申请ID")
    @ApiModelProperty(value = "申请ID")
    private String  id;
    @Excel(name = "竞赛ID")
    @ApiModelProperty(value = "竞赛ID")
    private String activityId;
    @Excel(name = "竞赛标题")
    @ApiModelProperty(value = "竞赛标题")
    private String title;
    @Excel(name = "是否为团队赛")
    @ApiModelProperty(value = "是否为团队赛")
    private String isTeam;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "竞赛开始时间")
    private Date startDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "竞赛结束时间")
    private Date endDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "报名开始时间")
    private Date enrollStartDate;

    @ApiModelProperty(value = "报名状态 0->报名成功 1->待提交信息 2->报名失败")
    private String status;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "报名结束时间")
    private Date enrollEndDate;
}
